package com.gitee.ricesugar.mall.model.POJO.DO;

public class CartItemDO {
    private int productId;
    private String username;
    private int amount;

    public CartItemDO(int productId, String username, int amount) {
        this.productId = productId;
        this.username = username;
        this.amount = amount;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "ShopDO{" +
                "productId=" + productId +
                ", username='" + username + '\'' +
                ", amount=" + amount +
                '}';
    }
}
